#810 Add option to give looked up items into inventory#811
Conversation
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
The permission should also control the button displaying (no button or give command if permission is disabled). The permission should also be completely disabled by default. |
|
Resolved merge conflicts, adjusted the permission to be disabled by default and added a permission check before showing the button |
This PR adds functionality to give items from lookups directly into the players inventory.
The motivation for that is explained in #810. So a small button and a "give" command were added (see image).
For the button to appear, the item needs to have metadata, like a display-name or enchantments.
I primarily intend to use this functionality on my own server, but maybe somebody else might find this useful. If some more work is needed to make it appeal to a more broad audience, please don't hesitate to let me know.
Closes #810